import request from '@/utils/request'
import $qs from 'qs'
export function distributorSetting(params) {
  return request({
    url: '/distributorSetting',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function applyList(params) {
  return request({
    url: '/applyList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editApplyMoney(params) {
  return request({
    url: '/editApplyMoney',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function confirmationPayment(params) {
  return request({
    url: '/confirmationPayment',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function distributorUser(params) {
  return request({
    url: '/distributorUser',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delDistributorUser(params) {
  return request({
    url: '/delDistributorUser',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function applyCheck(params) {
  return request({
    url: '/applyCheck',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function applyStatistics(params) {
  return request({
    url: '/applyStatistics',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function applyDelete(params) {
  return request({
    url: '/applyDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function insertDistributorGoods(params) {
  return request({
    url: '/insertDistributorGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getDistributorGoods(params) {
  return request({
    url: '/getDistributorGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function setDistributorGoods(params) {
  return request({
    url: '/setDistributorGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getDistributorOrder(params) {
  return request({
    url: '/getDistributorOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delDistributorOrder(params) {
  return request({
    url: '/delDistributorOrder',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getDistributorCommission(params) {
  return request({
    url: '/getDistributorCommission',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getWithdrawList(params) {
  return request({
    url: '/getWithdrawList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getWithdrawStatistical(params) {
  return request({
    url: '/getWithdrawStatistical',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delWithdrawInfo(params) {
  return request({
    url: '/delWithdrawInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function WithdrawToExamine(params) {
  return request({
    url: '/WithdrawToExamine',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function batchCommissionSetting(params) {
  return request({
    url: '/batchCommissionSetting',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function singleCommissionSetting(params) {
  return request({
    url: '/singleCommissionSetting',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getDistributorCommissionInfo(params) {
  return request({
    url: '/getDistributorCommissionInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function withdrawPayment(params) {
  return request({
    url: '/withdrawPayment',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function dealerLeaveAddEdit(params) {
  return request({
    url: '/dealerLeaveAddEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function dealerLeaveDetail(params) {
  return request({
    url: '/dealerLeaveDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function exitLeave(params) {
  return request({
    url: '/exitLeave',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function LeaveList(params) {
  return request({
    url: '/LeaveList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function dealerAdd(params) {
  return request({
    url: '/dealerAdd',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function LeaveState(params) {
  return request({
    url: '/LeaveState',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function issetLeave(params) {
  return request({
    url: '/issetLeave',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function dealerEdit(params) {
  return request({
    url: '/dealerEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function dealerUserMoney(params) {
  return request({
    url: '/dealerUserMoney',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getTeamData(params) {
  return request({
    url: '/getTeamData',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function ShowState(params) {
  return request({
    url: '/ShowState',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function distributorExtensionInfo(params) {
  return request({
    url: '/distributorExtensionInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function dealerApplyDelete(params) {
  return request({
    url: '/dealerApplyDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function saveCanDealTime(params) {
  return request({
    url: '/saveCanDealTime',
    method: 'post',
    data: $qs.stringify(params)
  })
}
